#ifndef _W6100_UDPS_COMM_OP_H_
#define _W6100_UDPS_COMM_OP_H_

#include "stdint.h"

#include "w6100_init.h"

#define SOCKET_LOG 2

int W6100_udps_setup(uint8_t sn, uint16_t *src_port, uint8_t loopback_mode);
int W6100_udps_send(uint8_t sn, uint8_t *buf, uint16_t len, uint8_t *destip, uint16_t destport, uint8_t addr_len);
int W6100_udps_recv(uint8_t sn, uint8_t *buf, uint8_t *destip, uint16_t *destport, uint8_t *addr_len);

#endif
